package spm.entities;

/**
 * This is a persistent class used by Hibernate. The class represents a possible
 * priority of the task.
 * 
 * @author Evgeny Ryzhkov
 * 
 * $Id: TaskPriority.java 11 2006-12-04 15:04:58Z evgeny.ryzhkov $
 */
public class TaskPriority {

	/**
	 * The unique ID of the priority.
	 */
	private Long id;

	/**
	 * The key in the resource file for the priority name.
	 */
	private String priorityNameKey;

	/**
	 * Constructor without parameters. It is required by Hibernate.
	 */
	public TaskPriority() {
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the priorityName
	 */
	public String getPriorityNameKey() {
		return priorityNameKey;
	}

	/**
	 * @param priorityName
	 *            the priorityName to set
	 */
	public void setPriorityNameKey(String priorityNameKey) {
		this.priorityNameKey = priorityNameKey;
	}

}
